﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Realtors.Entity;

namespace Realtors.Repository
{
    public interface IHouseRepository:IDisposable
    {
        IQueryable<House> GetActiveHouses();
        IQueryable<House> GetActiveFeaturedHouses();
        House GetHouseByID(Guid houseID);
        void InsertHouse(House house);
        void DeleteHouse(Guid houseID);
        void UpdateHouse(House house);
        void Save();
    }
}
